﻿<%@ Page Language="C#" MasterPageFile="~/Masterpage.Master" AutoEventWireup="true" CodeBehind="CreateCamp.aspx.cs" Inherits="EmailMarketingCampaign.CreateCamp" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style5
        {
            width: 320px;
        }
        .style8
        {
            width: 140px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    
     <div class="content">
<div id="post-69" class="post">
 <span class="absolute box_2_t_l"></span> 
 <span class="absolute box_2_t_r"></span> 
 <span class="absolute box_2_b_l"></span>
  <span class="absolute box_2_b_r"></span>


<p class="a">Create New Campaign </p>
 <div class="details">
     <table class="style1">
            <tr>
                <td class="style5" colspan="3">
                    <table class="style1">
                        <tr>
                            <td align="left" colspan="2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
    <asp:SqlDataSource  ID="dsMySQL" runat="server"  ConnectionString="<%$ ConnectionStrings:EmailMarketing_DBConnectionString%>"  ProviderName="<%$ ConnectionStrings:EmailMarketing_DBConnectionString.ProviderName %>" SelectCommand="select * from campaigntheme where COMUniquelID =?COMUniquelID">
   <SelectParameters> <asp:SessionParameter Name="COMUniquelID"  SessionField="COMUniquelID"  Type="String" />   </SelectParameters>

    
    </asp:SqlDataSource>
                            </td>
                        </tr>
                        <tr>
                            <td class="style8">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style8">
                    <asp:Label ID="Label1" runat="server" Text="Theme Name: "></asp:Label>
                            </td>
                            <td>
                    <asp:DropDownList ID="drpThem" runat="server" Height="23px" Width="126px" 
                        DataSourceID="dsMySQL" DataTextField="ThemeName" DataValueField="ThemeID">
                    </asp:DropDownList>
                            </td>
                            <td>
                    <asp:Button ID="btnAddThem" runat="server"  Height="27px" 
                        Text="Add new Theme" Width="115px" onclick="btnAddThem_Click" CssClass="button" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style8">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style8">
                    <asp:Label ID="Label2" runat="server" Text="Campaign Name: "></asp:Label>
                            </td>
                            <td>
                    <asp:TextBox ID="txtCampName" runat="server" Enabled="true"  Width="120"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style8">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style8">
                    <asp:Label ID="Label3" runat="server" Text="Description:"></asp:Label>
                            </td>
                            <td>
                     <asp:TextBox ID="txtCampDes" runat="server" Enabled="true" TextMode="MultiLine" ></asp:TextBox>

                            </td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style8">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:Button ID="btnSave" runat="server" CssClass="button" Height="27px"  Text="Save" 
                        Width="71px" onclick="btnSave_Click" />
                            </td>
                            <td>
                    <asp:Button ID="btnBack" runat="server"  CssClass="button" onclick="btnBack_Click" 
                                    Text="Back" Height="27px"  Width="71px"  />
                    <asp:Button ID="btnNext" runat="server" CssClass="button"  Height="27px" Text="Next" 
                        Width="71px" onclick="btnNext_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
           
        </table>
    
    </div>
  
  
    </div>
 </div>
 
    </asp:Content>
